package com.tanqidi.arcgisandroid.data.featureServer.bean

import java.io.Serializable

class ArcgisFeatureLayer : Serializable {

    companion object {
        val esriGeometryPoint = "esriGeometryPoint"
        val esriGeometryPolyline = "esriGeometryPolyline"
        val esriGeometryPolygon = "esriGeometryPolygon"
    }

    var currentVersion = 0.0
    var id = 0
    var name: String? = null
    var type: String? = null
    var geometryType: String? = null
    var fields: ArrayList<ArcgisField>? = null
    override fun toString(): String {
        return "ArcgisFeatureLayer(currentVersion=$currentVersion, id=$id, name=$name, type=$type, geometryType=$geometryType, fields=$fields)"
    }
}